Page({
  data: {},
  onLoad(options) {
    this.setData(options);
  },
  onShow(){
    var pages = getCurrentPages();
    var prevPage = pages[pages.length - 2].route;
    if (prevPage.indexOf('/pages/news-detail/news-detail') > 0) {
      wx.setStorageSync('webSto', 'webSto')
    }
  }
});
